package org.dlsu.mt.parser.dictionary;

/**
 * made by LEFT thesis group
 *
 * monolingual dictionary module
 *
 * Collocation class
 * acts as the representation as the structure of a collocation that is associated to a word class
 */

public class Collocation
{
	private String value; //contains the value of the word
	private String pos; //contains the part of speech that is associated with the collocated word
	
	public Collocation(String value, String pos)
	{
		/**
		 * constructor that takes as parameter the value and part of speech of the word
		 * instantiates the object by taking in these parameters and assigning them as values for the attributes of the object
		 */
		this.value = value;
		this.pos = pos;
	}
	
	public String getValue()
	{
		/**
		 * get method for returning the value of the collocated word
		 */
		return value;
	}
	
	public String getPOS()
	{
		/**
		 * get method for returning the part of speech of the word
		 */
		return pos;
	}
}